Skip to content

tree: free ctrl attributes when (re)configure ctrl#1033

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
igaw:fix-leaks
Jul 15, 2025
Merged

tree: free ctrl attributes when (re)configure ctrl#1033
igaw merged 1 commit intolinux-nvme:masterfrom
igaw:fix-leaks

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Jul 1, 2025

The trl object can be reused, thus all resources should be freed first.

Suggested-by: Martin George [email protected]

Fixes: #1028

Comment thread src/nvme/tree.c Outdated
The ctrl object can be reused, thus all resources should be freed first.

While at it also reorder the declaration section.

Reported-by: Martin George <[email protected]>
Signed-off-by: Daniel Wagner <[email protected]>
@igaw igaw merged commit e642498 into linux-nvme:master Jul 15, 2025
12 checks passed
@igaw igaw deleted the fix-leaks branch July 15, 2025 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants